package com.itcjb.springboot.service.impl;

import com.itcjb.springboot.dao.UserMapper;
import com.itcjb.springboot.entity.User;
import com.itcjb.springboot.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/** @author chenjiebin */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User getUserByName(String username) {
        return userMapper.getUserByName(username);
    }
}
